package com.tmall.tmall.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProductRt {
    private Integer id;
    private Integer cid;
    private String name;
    private String mainImg;          // 主图URL
    private String imgList;          // 多图URL列表（逗号分隔）
    private String productTypeName;   // 分类名称
    private BigDecimal price;
    private Integer stock;           // 库存
    private Integer saleCount;     // 销量
    private String subTitle;
    private LocalDateTime createTime; // 创建时间
    private Integer number;
    private BigDecimal sum;
    private Integer itemStatus;
    private Integer collect;
}
